package org.jeecg.modules.tls.csmg.csnotelike.service;

import org.jeecg.modules.tls.csmg.csnotelike.entity.CsNoteLike;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: cs_note_like
 * @Author: jeecg-boot
 * @Date:   2022-09-07
 * @Version: V1.0
 */
public interface ICsNoteLikeService extends IService<CsNoteLike> {

    /*
     * @description: 公有笔记点赞
     * @author: GGB
     * @date: 2022/9/7 14:12
     * @param: userId
     * @param: noteId
     * @return: Boolean
     **/
    Boolean setNoteLike(String userId,String noteId);

    /*
     * @description: 取消点赞
     * @author: GGB
     * @date: 2022/9/7 14:12
     * @param: userId
     * @param: noteId
     * @return: Boolean
     **/
    Boolean cancelNoteLike(String userId,String noteId);
}
